package com.genauth.sys.entity;

import com.genauth.sys.util.PageConstants;

/**
 * 响应给前端VUE的对象。统一响应结构。
 */
public class PageResponse {

    private int code = PageConstants.PAGECODE_SUCCESS;
    private String message;
    private Object rspData;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getRspData() {
        return rspData;
    }

    public void setRspData(Object rspData) {
        this.rspData = rspData;
    }

}
